package com.tax.plan.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * pdf 各页需要替换的项
 *
 * @Author: TG
 * @Description: About this class
 * @Date :Created in 10:23 2021/5/24 0024
 * @Version : 1.0
 */
public class PdfPageReplaceItems {
    /**
     * 当前替换的页码
     */
    private Integer pageNum;
    /**
     * 当前页需要替换的项
     */
    private List<PdfReplaceItem> replaceItems = new ArrayList<>();

    public PdfPageReplaceItems(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public List<PdfReplaceItem> getReplaceItems() {
        return replaceItems;
    }

    public void setReplaceItems(List<PdfReplaceItem> replaceItems) {
        this.replaceItems = replaceItems;
    }

    public void add(PdfReplaceItem replaceItem) {
        replaceItems.add(replaceItem);
    }
}
